<template>
    <div class="speech">
        <h1 style="color: #f66;">设备管理</h1>

        <div class="tableBox">
            <el-table :data="tableData" height="calc(100% - 35px)" style="width: 100%">
                <el-table-column prop="id" label="序号" width="180" />
                <el-table-column prop="voiceText" label="设备ID" width="180" />
                <el-table-column prop="voicePath" label="通道ID" />
                <el-table-column prop="createTime" label="设备名" />
                <el-table-column prop="name" label="状态" />
            </el-table>
            <el-pagination page-size="10" background layout="prev, pager, next" :total="10" prev-text="上一页"
                next-text="下一页" />

        </div> 
    </div>
</template>
<script setup>

import { ref } from "vue";

const value1 = ref(""); 
const input = ref();

const tableData = [
  {
    "searchValue": null,
    "createBy": null,
    "createTime": "2024-01-23 16:41:40",
    "updateBy": null,
    "updateTime": null,
    "remark": null,
    "params": {},
    "id": 1,
    "termId": 65542,
    "chanId": 1,
    "chanName": "男生宿舍101",
    "isOnline": 1,
    "isRecord": 0,
    "dormType": 0,
    "dormId": null,
    "status": 0,
    "delFlag": "0"
  },
  {
    "searchValue": null,
    "createBy": null,
    "createTime": "2024-01-23 16:41:40",
    "updateBy": null,
    "updateTime": null,
    "remark": null,
    "params": {},
    "id": 2,
    "termId": 65542,
    "chanId": 2,
    "chanName": "男生宿舍102",
    "isOnline": 1,
    "isRecord": 0,
    "dormType": 0,
    "dormId": null,
    "status": 0,
    "delFlag": "0"
  },
  {
    "searchValue": null,
    "createBy": null,
    "createTime": "2024-01-23 16:41:40",
    "updateBy": null,
    "updateTime": null,
    "remark": null,
    "params": {},
    "id": 3,
    "termId": 65542,
    "chanId": 3,
    "chanName": "男生宿舍103",
    "isOnline": 1,
    "isRecord": 0,
    "dormType": 0,
    "dormId": null,
    "status": 0,
    "delFlag": "0"
  },
  {
    "searchValue": null,
    "createBy": null,
    "createTime": "2024-01-23 16:41:40",
    "updateBy": null,
    "updateTime": null,
    "remark": null,
    "params": {},
    "id": 4,
    "termId": 65542,
    "chanId": 4,
    "chanName": "男生宿舍104",
    "isOnline": 1,
    "isRecord": 0,
    "dormType": 0,
    "dormId": null,
    "status": 0,
    "delFlag": "0"
  },
  {
    "searchValue": null,
    "createBy": null,
    "createTime": "2024-01-23 16:41:40",
    "updateBy": null,
    "updateTime": null,
    "remark": null,
    "params": {},
    "id": 5,
    "termId": 65542,
    "chanId": 5,
    "chanName": "男生宿舍105",
    "isOnline": 1,
    "isRecord": 0,
    "dormType": 0,
    "dormId": null,
    "status": 0,
    "delFlag": "0"
  },
  {
    "searchValue": null,
    "createBy": null,
    "createTime": "2024-01-23 16:41:40",
    "updateBy": null,
    "updateTime": null,
    "remark": null,
    "params": {},
    "id": 6,
    "termId": 65542,
    "chanId": 6,
    "chanName": "男生宿舍106",
    "isOnline": 1,
    "isRecord": 0,
    "dormType": 0,
    "dormId": null,
    "status": 0,
    "delFlag": "0"
  },
  {
    "searchValue": null,
    "createBy": null,
    "createTime": "2024-01-23 16:41:40",
    "updateBy": null,
    "updateTime": null,
    "remark": null,
    "params": {},
    "id": 7,
    "termId": 65542,
    "chanId": 7,
    "chanName": "男生宿舍107",
    "isOnline": 1,
    "isRecord": 0,
    "dormType": 0,
    "dormId": null,
    "status": 0,
    "delFlag": "0"
  },
  {
    "searchValue": null,
    "createBy": null,
    "createTime": "2024-01-23 16:41:40",
    "updateBy": null,
    "updateTime": null,
    "remark": null,
    "params": {},
    "id": 8,
    "termId": 65542,
    "chanId": 8,
    "chanName": "男生宿舍108",
    "isOnline": 1,
    "isRecord": 0,
    "dormType": 0,
    "dormId": null,
    "status": 0,
    "delFlag": "0"
  }
]
</script>

<style></style>